package com.anolesoft.yr.store.stk.dao;

import com.anolesoft.yr.store.stk.entity.StkLocation;
import com.anolesoft.yr.store.stk.entity.StkLocationExample;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface StkLocationDao extends BaseMapper<StkLocation> {
    long countByExample(StkLocationExample example);

    int deleteByExample(StkLocationExample example);

    List<StkLocation> selectByExample(StkLocationExample example);

    int updateByExampleSelective(@Param("record") StkLocation record, @Param("example") StkLocationExample example);

    int updateByExample(@Param("record") StkLocation record, @Param("example") StkLocationExample example);

    int updateBatch(List<StkLocation> list);

    int updateBatchSelective(List<StkLocation> list);

    int batchInsert(@Param("list") List<StkLocation> list);

    int insertOrUpdate(StkLocation record);

    int insertOrUpdateSelective(StkLocation record);
}